home *** CD-ROM | disk | FTP | other *** search
- Path: news.ov.com!news
- From: glenn@ov.com (Fletcher.Glenn@ov.com)
- Newsgroups: comp.lang.c
- Subject: Re: Call by ref of int's
- Date: 1 Mar 1996 19:26:11 GMT
- Organization: OpenVision
- Message-ID: <4h7j0j$o1p@spanky.pls.ov.com>
- References: <3133058E.41C67EA6@ap.co.umist.ac.uk>
- Reply-To: glenn@ov.com
- NNTP-Posting-Host: foghorn.pls.ov.com
-
- In article 41C67EA6@ap.co.umist.ac.uk, Dan <dan@ap.co.umist.ac.uk> writes:
- >I have a problem with my program;
- >
- >I am writing a 3d engine and I have to read in from a txt file into
- >a struct, and push each struct onto a stack.
- >
- >When I pop the stack, I call;
- >
- > pop_facet(&facet_current, &a, &b, &c)
- [snipped a lot]
-
- Call by ref is a C++ capability. ANSI C only supports call by value.
-
- Fletcher.Glenn@ov.com
-
- >what's going on???
- >---------------------------------
- >dan@ap.co.umist.ac.uk
- >
- >"If all the world's a stage....
- > then Steven Fry's f***ed!!"
- >
- >GAME ON!
- >---------------------------------
-
-
-
-
-
-